
 <!DOCTYPE HTML>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  
    <title>小程序开发月刊第九期（20190916） | Here. There.</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=3, minimum-scale=1">
    
    <meta name="author" content="被删">
    
    <meta name="description" content="天气转凉好个秋~~">
    
    
    
    
    <link rel="alternate" href="/atom.xml" title="Here. There." type="application/atom+xml">
    
    
    <link rel="icon" href="/img/favicon.ico">
    
    
    <link rel="apple-touch-icon" href="/img/pacman.jpg">
    <link rel="apple-touch-icon-precomposed" href="/img/pacman.jpg">
    
    <link rel="stylesheet" href="/css/style.css">
    
<script type="text/javascript">
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "//hm.baidu.com/hm.js?3d902de4a19cf2bf179534ffd2dd7b7f";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>

</head>

  <body>
    <header>
      <div>
		
			<div id="imglogo">
				<a href="/"><img src="/img/sun.png" alt="Here. There." title="Here. There."/></a>
			</div>
			
			<div id="textlogo">
				<h1 class="site-name"><a href="/" title="Here. There.">Here. There.</a></h1>
				<h2 class="blog-motto">Love ice cream. Love sunshine. Love life. Love the world. Love myself. Love you.</h2>
			</div>
			<div class="navbar"><a class="navbutton navmobile" href="#" title="菜单">
			</a></div>
			<nav class="animated">
				<ul>
					
						<li><a href="/">首页</a></li>
					
						<li><a href="https://github.com/godbasin/godbasin.github.io">所有文章</a></li>
					
						<li><a href="/archives">归档</a></li>
					
						<li><a href="/categories">分类</a></li>
					
						<li><a href="https://godbasin.github.io/front-end-playground">前端游乐场</a></li>
					
						<li><a href="/about">关于我</a></li>
					
				</ul>
			</nav>			
</div>

    </header>
    <div id="container">
      <div id="main" class="post" itemscope itemprop="blogPost">
	<article itemprop="articleBody"> 
		<header class="article-info clearfix">
  <h1 itemprop="name">
    
      <a href="/2019/09/16/wxapp-latest-20190916/" title="小程序开发月刊第九期（20190916）" itemprop="url">小程序开发月刊第九期（20190916）</a>
  </h1>
  <p class="article-author">By
    
      <a href="https://godbasin.github.io" title="被删">被删</a>
    </p>
  <p class="article-time">
    <time datetime="2019-09-16T15:52:31.000Z" itemprop="datePublished">2019-09-16</time>
    更新日期:<time datetime="2019-09-22T12:24:09.355Z" itemprop="dateModified">2019-09-22</time>
    
  </p>
</header>
	<div class="article-content">
		
		
		<div id="toc" class="toc-article">
			<strong class="toc-title">文章目录</strong>
		<ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#小程序-latest"><span class="toc-number">1.</span> <span class="toc-text">小程序 latest</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#小程序能力"><span class="toc-number">1.1.</span> <span class="toc-text">小程序能力</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#「微信官方文档」支持移动端搜索"><span class="toc-number">1.1.1.</span> <span class="toc-text">「微信官方文档」支持移动端搜索</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#微信小程序自动化框架-Python-版-–-Minium-公测"><span class="toc-number">1.1.2.</span> <span class="toc-text">微信小程序自动化框架 Python 版 – Minium 公测</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#小程序扩展能力更新"><span class="toc-number">1.1.3.</span> <span class="toc-text">小程序扩展能力更新</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#小程序新-Canvas-接口公测"><span class="toc-number">1.1.4.</span> <span class="toc-text">小程序新 Canvas 接口公测</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#小程序新增“实时日志”功能"><span class="toc-number">1.1.5.</span> <span class="toc-text">小程序新增“实时日志”功能</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#数据周期更新功能"><span class="toc-number">1.1.6.</span> <span class="toc-text">数据周期更新功能</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#更新日志"><span class="toc-number">1.1.7.</span> <span class="toc-text">更新日志</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#小程序·云开发"><span class="toc-number">1.2.</span> <span class="toc-text">小程序·云开发</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#小程序·云开发新增实时数据推送能力"><span class="toc-number">1.2.1.</span> <span class="toc-text">小程序·云开发新增实时数据推送能力</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#「小程序·云开发」资源配额调整"><span class="toc-number">1.2.2.</span> <span class="toc-text">「小程序·云开发」资源配额调整</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#开发者工具"><span class="toc-number">1.3.</span> <span class="toc-text">开发者工具</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#本地编译时进行合并编译"><span class="toc-number">1.3.1.</span> <span class="toc-text">本地编译时进行合并编译</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#PC-微信开发版小程序自动预览"><span class="toc-number">1.3.2.</span> <span class="toc-text">PC 微信开发版小程序自动预览</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#更多新增能力"><span class="toc-number">1.3.3.</span> <span class="toc-text">更多新增能力</span></a></li></ol></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#小程序教程"><span class="toc-number">2.</span> <span class="toc-text">小程序教程</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#社区精选文章"><span class="toc-number">2.1.</span> <span class="toc-text">社区精选文章</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#最新踩坑-amp-amp-Tips"><span class="toc-number">2.2.</span> <span class="toc-text">最新踩坑 && Tips</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#【开发Tips】-小程序插件最低可用版本设置"><span class="toc-number">2.2.1.</span> <span class="toc-text">【开发Tips】-小程序插件最低可用版本设置</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#【踩坑信息】-小程序公众号关联策略"><span class="toc-number">2.2.2.</span> <span class="toc-text">【踩坑信息】- 小程序公众号关联策略</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#结束语"><span class="toc-number">2.3.</span> <span class="toc-text">结束语</span></a></li></ol></li></ol>
		</div>
		
		<p>天气转凉好个秋~~<br><a id="more"></a></p>
<h1 id="小程序-latest"><a href="#小程序-latest" class="headerlink" title="小程序 latest"></a>小程序 latest</h1><h2 id="小程序能力"><a href="#小程序能力" class="headerlink" title="小程序能力"></a>小程序能力</h2><h3 id="「微信官方文档」支持移动端搜索"><a href="#「微信官方文档」支持移动端搜索" class="headerlink" title="「微信官方文档」支持移动端搜索"></a>「微信官方文档」支持移动端搜索</h3><p>「微信官方文档」，包括小程序、小游戏、公众号与开放平台官方文档均已支持移动端搜索功能，方便大家随时随地搜索查阅。</p>
<ul>
<li><a href="https://developers.weixin.qq.com/community/develop/doc/000ac42c28c718812f092bf1151801" target="_blank" rel="external">帖子详情查看</a></li>
</ul>
<h3 id="微信小程序自动化框架-Python-版-–-Minium-公测"><a href="#微信小程序自动化框架-Python-版-–-Minium-公测" class="headerlink" title="微信小程序自动化框架 Python 版 – Minium 公测"></a>微信小程序自动化框架 Python 版 – Minium 公测</h3><p>Minium 是小程序/小游戏自动化测试框架 MiniTest 的一部分，着重帮助开发/测试人员解决小程序的自动化测试难题。Minium 支持 IDE、iOS、Android 三端运行，详细的使用方法可以移步到 文档 查看，最新的微信开发者工具已经支持自动化，欢迎下载体验。</p>
<ul>
<li><a href="https://developers.weixin.qq.com/community/develop/doc/000c046e8382102d950940f0953401" target="_blank" rel="external">帖子详情查看</a></li>
</ul>
<h3 id="小程序扩展能力更新"><a href="#小程序扩展能力更新" class="headerlink" title="小程序扩展能力更新"></a>小程序扩展能力更新</h3><ul>
<li><p><strong>MobX 绑定辅助库</strong><br>小程序团队做了一个 MobX 绑定辅助库，可以用来辅助 MobX 构建数据仓库或者数据关联，有需要的话欢迎体验。</p>
<ul>
<li><a href="https://github.com/wechat-miniprogram/mobx-miniprogram-bindings" target="_blank" rel="external">查看详情</a></li>
</ul>
</li>
<li><p><strong>WeUI组件库</strong><br>WeUI 组件库目前已支持按需下载需要的组件。</p>
<ul>
<li><a href="https://developers.weixin.qq.com/miniprogram/dev/extended/weui/download.html" target="_blank" rel="external">查看详情</a></li>
</ul>
</li>
</ul>
<blockquote>
<p>Tips: 下载后的组件，目前会包含一个比较大的 weui 样式文件，大概38K左右</p>
</blockquote>
<h3 id="小程序新-Canvas-接口公测"><a href="#小程序新-Canvas-接口公测" class="headerlink" title="小程序新 Canvas 接口公测"></a>小程序新 Canvas 接口公测</h3><p>为了提高 Canvas 组件的性能，我们计划在小程序基础库 v2.9.0 正式开放一套全新的 Canvas 接口。该接口符合 HTML Canvas 2D 的标准，实现上采用 GPU 硬件加速，渲染性能相比于现有的 Canvas 接口有一倍左右的提升。现邀请广大开发者参与 Canvas 接口的公测。</p>
<ul>
<li><a href="https://developers.weixin.qq.com/community/develop/doc/00020a02c2c040114d19a398f5b001" target="_blank" rel="external">帖子详情查看</a></li>
</ul>
<blockquote>
<p>公测需使用 iOS v7.0.5 版本，接口用法可参考<a href="https://developers.weixin.qq.com/s/MdYVhXmB7lak" target="_blank" rel="external">该代码片段</a>。安卓用户也可以到<a href="https://weixin.qq.com/" target="_blank" rel="external">官网</a>安装最新版微信体验新的 canvas 接口。（备注：安装完成登录之后需等待3~5分钟）</p>
</blockquote>
<h3 id="小程序新增“实时日志”功能"><a href="#小程序新增“实时日志”功能" class="headerlink" title="小程序新增“实时日志”功能"></a>小程序新增“实时日志”功能</h3><p>“实时日志”功能可以便捷地查询最近三日内的小程序日志，帮助开发者排查漏洞、定位问题。“实时日志”提供了三种日志等级，开发者可根据自己的业务场景打印日志，并可在“小程序管理后台-开发-运维中心-实时日志”根据用户的微信号或 OpenID 查询日志信息。</p>
<ul>
<li><a href="https://developers.weixin.qq.com/miniprogram/dev/extended/log/" target="_blank" rel="external">查看详情</a></li>
</ul>
<h3 id="数据周期更新功能"><a href="#数据周期更新功能" class="headerlink" title="数据周期更新功能"></a>数据周期更新功能</h3><p>为了提升弱网环境下小程序的使用体验，对于用户七天内使用过的小程序，开发者可每隔12个小时将所需数据预先下载到用户手机本地，以支持下次小程序在弱网或者无网络条件下的正常使用。</p>
<ul>
<li><a href="https://developers.weixin.qq.com/miniprogram/dev/framework/ability/background-fetch.html" target="_blank" rel="external">参考文档</a></li>
</ul>
<h3 id="更新日志"><a href="#更新日志" class="headerlink" title="更新日志"></a>更新日志</h3><ul>
<li><a href="https://developers.weixin.qq.com/community/develop/doc/0008280ec20ac879c919d932556001" target="_blank" rel="external">社区问题反馈以及功能优化更新（08.26-08.30）</a>  </li>
<li><a href="https://developers.weixin.qq.com/community/develop/doc/00066c5757894889271996e015b001" target="_blank" rel="external">社区问题反馈以及功能优化更新（8.19-8.23）</a>  </li>
<li><a href="https://developers.weixin.qq.com/community/develop/doc/000c046e8382102d950940f0953401" target="_blank" rel="external">社区问题反馈以及功能优化更新（8.12-8.16）</a>  </li>
<li><a href="https://developers.weixin.qq.com/community/develop/doc/000ac42c28c718812f092bf1151801" target="_blank" rel="external">社区问题反馈以及功能优化更新（8.05-8.09）</a>  </li>
</ul>
<h2 id="小程序·云开发"><a href="#小程序·云开发" class="headerlink" title="小程序·云开发"></a>小程序·云开发</h2><h3 id="小程序·云开发新增实时数据推送能力"><a href="#小程序·云开发新增实时数据推送能力" class="headerlink" title="小程序·云开发新增实时数据推送能力"></a>小程序·云开发新增实时数据推送能力</h3><p>小程序·云开发新增实时数据推送能力，可以实时监听数据库中的数据变更。该功能有效地解决了即时通信以及实时更新和推送数据的问题，极大地降低在此类场景下的开发成本。<br>基于是实时数据推送能力，在给定查询条件的情况下，每当数据库更新而导致查询条件对应的查询结果发生变更时，小程序可收到一个更新事件，其中可获取更新内容和更新后的查询结果快照。</p>
<p>实时数据推送有着广泛的应用场景，包括但不限于：</p>
<ul>
<li>聊天/即时通信：小游戏内聊天、大厅广播、区服广播等；企业内部小程序中的即时通信能力等</li>
<li>多人小游戏：使用状态同步的小游戏，如棋牌类等回合制游戏</li>
<li>协作工具：如在线协作文档、团队任务管理等</li>
<li><p>实时应用状态同步：以信息流为例，可以实时获取最新文章、以及最新评论、点赞、通知等内容，让交互更顺畅自然</p>
</li>
<li><p><a href="https://developers.weixin.qq.com/miniprogram/dev/wxcloud/guide/database/realtime.html" target="_blank" rel="external">查看详情</a></p>
</li>
</ul>
<h3 id="「小程序·云开发」资源配额调整"><a href="#「小程序·云开发」资源配额调整" class="headerlink" title="「小程序·云开发」资源配额调整"></a>「小程序·云开发」资源配额调整</h3><p>为了让开发者能够更方便的使用小程序·云开发，我们对云开发的部分资源配额进行了调整，具体调整内容包括：</p>
<ul>
<li>去除云函数调用次数限制（之前基础版为20万/月，豪华版为5亿/月）</li>
<li>云函数并发数统一调整为1000（之前基础版为20，豪华版为1000）<br>同时，我们新增了四个新套餐：专业版 plus、专业版 plus、CDN 版 plus、以及旗舰版 plus。</li>
</ul>
<h2 id="开发者工具"><a href="#开发者工具" class="headerlink" title="开发者工具"></a>开发者工具</h2><h3 id="本地编译时进行合并编译"><a href="#本地编译时进行合并编译" class="headerlink" title="本地编译时进行合并编译"></a>本地编译时进行合并编译</h3><p>本地编译时使用合并编译可以加快小程序加载的速度，<br>通过【项目详情 - 本地设置 - 本地编译时进行合并编译】可以打开此功能</p>
<h3 id="PC-微信开发版小程序自动预览"><a href="#PC-微信开发版小程序自动预览" class="headerlink" title="PC 微信开发版小程序自动预览"></a>PC 微信开发版小程序自动预览</h3><p><a href="https://dldir1.qq.com/weixin/Windows/WeChat2.7.0_beta.exe" target="_blank" rel="external">PC 微信内测版</a>支持小程序【开发者工具 设置 - 通用设置 - 启用 PC 端自动预览】，可以将开发版小程序通过自动预览推送到同登录态的 PC 微信上。</p>
<h3 id="更多新增能力"><a href="#更多新增能力" class="headerlink" title="更多新增能力"></a>更多新增能力</h3><p>参考<a href="https://developers.weixin.qq.com/community/develop/doc/00066696834858a9d91912c755e401" target="_blank" rel="external">微信开发者工具 1.02.1909051 RC 更新说明</a>，这期新增能力包括：</p>
<ul>
<li>自动真机调试</li>
<li>使用测试号进行多帐号调试</li>
<li>支持多线程 worker 的单步调试</li>
<li>公众号网页调试增加 url 收藏功能</li>
<li>云开发套餐支持代金券支付</li>
<li>新增周期性更新调试</li>
<li>支持小游戏关系链互动数据开发</li>
</ul>
<p><a href="https://developers.weixin.qq.com/community/develop/doc/00048a4a24c248f64d2974eea5bc01" target="_blank" rel="external">微信开发者工具 1.02.1909111 RC 更新说明</a>新增能力包括：</p>
<ul>
<li>调试器最大日志行数设置</li>
<li>通过导入二维码创建自定义编译条件</li>
<li>公众号网页调试增加缓存全部清除按钮</li>
<li>修复意外断电后导致代码乱码的问题</li>
</ul>
<h1 id="小程序教程"><a href="#小程序教程" class="headerlink" title="小程序教程"></a>小程序教程</h1><h2 id="社区精选文章"><a href="#社区精选文章" class="headerlink" title="社区精选文章"></a>社区精选文章</h2><ul>
<li><a href="https://developers.weixin.qq.com/community/develop/article/doc/00068aec7941f8f57509794be54413" target="_blank" rel="external">微信小程序实战：微信小程序自定义导航栏全适配开发 (完美适配所有手机)</a></li>
</ul>
<p>更多可以查看<a href="https://developers.weixin.qq.com/community/develop/article" target="_blank" rel="external">文章分享</a>。</p>
<blockquote>
<p>最近社区的好文有点不够哇</p>
</blockquote>
<h2 id="最新踩坑-amp-amp-Tips"><a href="#最新踩坑-amp-amp-Tips" class="headerlink" title="最新踩坑 &amp;&amp; Tips"></a>最新踩坑 &amp;&amp; Tips</h2><h3 id="【开发Tips】-小程序插件最低可用版本设置"><a href="#【开发Tips】-小程序插件最低可用版本设置" class="headerlink" title="【开发Tips】-小程序插件最低可用版本设置"></a>【开发Tips】-小程序插件最低可用版本设置</h3><p>【小程序后台-功能-小程序插件-基本设置-最低可用版本】：“版本号小于所选版本的插件版本将在30天后停止服务”。<br>一旦设置这个选项，设置的时刻新发版的小程序就不再能使用旧版本的插件，而30天后，线上所有低版本的插件都会报错。<br>设置这个选项后，插件调用方这三十天内会多次收到提醒，微信、开发者工具、站内信都会有。</p>
<h3 id="【踩坑信息】-小程序公众号关联策略"><a href="#【踩坑信息】-小程序公众号关联策略" class="headerlink" title="【踩坑信息】- 小程序公众号关联策略"></a>【踩坑信息】- 小程序公众号关联策略</h3><p>公众号关联小程序策略于4月4日发布<a href="https://developers.weixin.qq.com/community/develop/doc/00008e0564435833bf588fbbb56001" target="_blank" rel="external">策略调整</a>，里面提到小程序需要与公众号关联，才可被使用在公众号自定义菜单、模板消息、客服消息等场景中。<br>【目前情况是，公众号无需关联，便可以在自定义菜单绑定任何小程序。】<br>经确认，菜单改为任何人都可以添加。目前小程序团队收到部分反馈，现在正在改为关联后才能添加，预计下周改造完成。</p>
<h2 id="结束语"><a href="#结束语" class="headerlink" title="结束语"></a>结束语</h2><p>谁终将声震人间，必长久深自缄默。<br>谁终将点燃闪电，必长久如云漂泊。<br>我的时代还没有到来，有的人死后方生。<br>–尼采</p>
  
		
		<p style="margin-top:50px;">
			查看Github有更多内容噢：<a href="https://github.com/godbasin">https://github.com/godbasin</a>
			<br>
			更欢迎来<a href="https://godbasin.github.io/front-end-playground">被删的前端游乐场</a>边撸猫边学前端噢
		</p>
	</div>
	<img src="https://github-imglib-1255459943.cos.ap-chengdu.myqcloud.com/2code2.jpg" width="200" height="200" style="display:block;margin: 0 auto;" />
	<p style="text-align: center;margin-top: 10px;margin-bottom: 20px;">码生艰难，写文不易，给我家猪囤点猫粮了喵~</p>
	<div class="author-right">
  		<p>作者：被删</p>
  		<p>出处：<a href="https://godbasin.github.io">https://godbasin.github.io</a></p>
  		<p>本文版权归作者所有，欢迎转载，但未经作者同意必须保留此段声明，且在文章页面明显位置给出原文连接，否则保留追究法律责任的权利。</p>
	</div>
		<footer class="article-footer clearfix">

  <div class="article-tags">
  
  <span></span> <a href="/tags/教程/">教程</a>
  </div>


<div class="article-categories">
  <span></span>
  <a class="article-category-link" href="/categories/小程序双皮奶/">小程序双皮奶</a>
</div>



<div class="article-share" id="share">

  
<!-- JiaThis Button BEGIN -->
<div class="jiathis_style_24x24">
	<a class="jiathis_button_qzone"></a>
	<a class="jiathis_button_tsina"></a>
	<a class="jiathis_button_tqq"></a>
	<a class="jiathis_button_weixin"></a>
	<a class="jiathis_button_renren"></a>
	<a href="http://www.jiathis.com/share?uid=2134021" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
</div>
<script type="text/javascript">
var jiathis_config = {data_track_clickback:'true'};
</script>
<script type="text/javascript" src="http://v3.jiathis.com/code_mini/jia.js?uid=2134021" charset="utf-8"></script>
<!-- JiaThis Button END -->   


</div>
</footer>   	       
	</article>
	
<nav class="article-nav clearfix">
 
 <div class="prev" >
 <a href="/2019/10/13/about-front-end-3-growth/" title="前端这几年--3.关于成长和焦虑">
  <strong>PREVIOUS:</strong><br/>
  <span>
  前端这几年--3.关于成长和焦虑</span>
</a>
</div>


<div class="next">
<a href="/2019/08/15/wxapp-latest-20190815/"  title="小程序开发月刊第八期（20190815）">
 <strong>NEXT:</strong><br/> 
 <span>小程序开发月刊第八期（20190815）
</span>
</a>
</div>

</nav>

	<!-- 如果不是首页且没使用 `comments: false` 关闭评论，则尝试加载评论 -->

    <!-- 配置中启用多说时，导入相应代码 -->
    


</div>  
      <div class="openaside"><a class="navbutton" href="#" title="显示侧边栏"></a></div>

  <div id="toc" class="toc-aside">
  <strong class="toc-title">文章目录</strong>
  <ol class="toc"><li class="toc-item toc-level-1"><a class="toc-link" href="#小程序-latest"><span class="toc-number">1.</span> <span class="toc-text">小程序 latest</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#小程序能力"><span class="toc-number">1.1.</span> <span class="toc-text">小程序能力</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#「微信官方文档」支持移动端搜索"><span class="toc-number">1.1.1.</span> <span class="toc-text">「微信官方文档」支持移动端搜索</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#微信小程序自动化框架-Python-版-–-Minium-公测"><span class="toc-number">1.1.2.</span> <span class="toc-text">微信小程序自动化框架 Python 版 – Minium 公测</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#小程序扩展能力更新"><span class="toc-number">1.1.3.</span> <span class="toc-text">小程序扩展能力更新</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#小程序新-Canvas-接口公测"><span class="toc-number">1.1.4.</span> <span class="toc-text">小程序新 Canvas 接口公测</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#小程序新增“实时日志”功能"><span class="toc-number">1.1.5.</span> <span class="toc-text">小程序新增“实时日志”功能</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#数据周期更新功能"><span class="toc-number">1.1.6.</span> <span class="toc-text">数据周期更新功能</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#更新日志"><span class="toc-number">1.1.7.</span> <span class="toc-text">更新日志</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#小程序·云开发"><span class="toc-number">1.2.</span> <span class="toc-text">小程序·云开发</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#小程序·云开发新增实时数据推送能力"><span class="toc-number">1.2.1.</span> <span class="toc-text">小程序·云开发新增实时数据推送能力</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#「小程序·云开发」资源配额调整"><span class="toc-number">1.2.2.</span> <span class="toc-text">「小程序·云开发」资源配额调整</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#开发者工具"><span class="toc-number">1.3.</span> <span class="toc-text">开发者工具</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#本地编译时进行合并编译"><span class="toc-number">1.3.1.</span> <span class="toc-text">本地编译时进行合并编译</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#PC-微信开发版小程序自动预览"><span class="toc-number">1.3.2.</span> <span class="toc-text">PC 微信开发版小程序自动预览</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#更多新增能力"><span class="toc-number">1.3.3.</span> <span class="toc-text">更多新增能力</span></a></li></ol></li></ol></li><li class="toc-item toc-level-1"><a class="toc-link" href="#小程序教程"><span class="toc-number">2.</span> <span class="toc-text">小程序教程</span></a><ol class="toc-child"><li class="toc-item toc-level-2"><a class="toc-link" href="#社区精选文章"><span class="toc-number">2.1.</span> <span class="toc-text">社区精选文章</span></a></li><li class="toc-item toc-level-2"><a class="toc-link" href="#最新踩坑-amp-amp-Tips"><span class="toc-number">2.2.</span> <span class="toc-text">最新踩坑 && Tips</span></a><ol class="toc-child"><li class="toc-item toc-level-3"><a class="toc-link" href="#【开发Tips】-小程序插件最低可用版本设置"><span class="toc-number">2.2.1.</span> <span class="toc-text">【开发Tips】-小程序插件最低可用版本设置</span></a></li><li class="toc-item toc-level-3"><a class="toc-link" href="#【踩坑信息】-小程序公众号关联策略"><span class="toc-number">2.2.2.</span> <span class="toc-text">【踩坑信息】- 小程序公众号关联策略</span></a></li></ol></li><li class="toc-item toc-level-2"><a class="toc-link" href="#结束语"><span class="toc-number">2.3.</span> <span class="toc-text">结束语</span></a></li></ol></li></ol>
  </div>

<div id="asidepart">
<div class="closeaside"><a class="closebutton" href="#" title="隐藏侧边栏"></a></div>
<aside class="clearfix">

  	
	<div class="archiveslist">
		<p class="asidetitle">最近文章</p>
			<ul class="archive-list">
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/11/15/wxapp-latest-20191115/" title="小程序开发月刊第11期（20191115）">小程序开发月刊第11期（201911...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/11/10/change-log/" title="前端 CHANGELOG 生成指南">前端 CHANGELOG 生成指南...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/11/09/wxapp-global-data-behavior/" title="小程序的奇技淫巧 -- globalDataBehavior管理全局状态">小程序的奇技淫巧 -- global...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/10/15/wxapp-latest-20191015/" title="小程序开发月刊第十期（20191015）">小程序开发月刊第十期（2019101...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/10/13/about-front-end-3-growth/" title="前端这几年--3.关于成长和焦虑">前端这几年--3.关于成长和焦虑...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/09/16/wxapp-latest-20190916/" title="小程序开发月刊第九期（20190916）">小程序开发月刊第九期（2019091...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/08/15/wxapp-latest-20190815/" title="小程序开发月刊第八期（20190815）">小程序开发月刊第八期（2019081...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/07/27/front-end-playground/" title="被删的前端游乐场建成！">被删的前端游乐场建成！</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/07/21/vue-for-everyone-3/" title="9102全员学Vue--3.把页面拼成个Web应用">9102全员学Vue--3.把页面拼...</a>
				</li>
				
			
					
				<li class="archive-list-item">
					<a class="archive-list-link" href="/2019/07/15/wxapp-latest-20190715/" title="小程序开发月刊第七期（20190715）">小程序开发月刊第七期（2019071...</a>
				</li>
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
				
			
			</ul>
	</div>


  
  <div class="archiveslist">
    <p class="asidetitle"><a href="/archives">归档</a></p>
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/11/">十一月 2019</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/10/">十月 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/09/">九月 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/08/">八月 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/07/">七月 2019</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/06/">六月 2019</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/05/">五月 2019</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/04/">四月 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/03/">三月 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/02/">二月 2019</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2019/01/">一月 2019</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/12/">十二月 2018</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/11/">十一月 2018</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/10/">十月 2018</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/09/">九月 2018</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/08/">八月 2018</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/07/">七月 2018</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/06/">六月 2018</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/05/">五月 2018</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/04/">四月 2018</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/03/">三月 2018</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/02/">二月 2018</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2018/01/">一月 2018</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/12/">十二月 2017</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/11/">十一月 2017</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/10/">十月 2017</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/09/">九月 2017</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/08/">八月 2017</a><span class="archive-list-count">11</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/07/">七月 2017</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/06/">六月 2017</a><span class="archive-list-count">10</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/05/">五月 2017</a><span class="archive-list-count">15</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/04/">四月 2017</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/03/">三月 2017</a><span class="archive-list-count">10</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/02/">二月 2017</a><span class="archive-list-count">41</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2017/01/">一月 2017</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/12/">十二月 2016</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/11/">十一月 2016</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/10/">十月 2016</a><span class="archive-list-count">5</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/09/">九月 2016</a><span class="archive-list-count">7</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/08/">八月 2016</a><span class="archive-list-count">9</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/07/">七月 2016</a><span class="archive-list-count">14</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/06/">六月 2016</a><span class="archive-list-count">9</span></li></ul>
  </div>


  
<div class="archiveslist">
	<p class="asidetitle"><a href="/categories">分类</a></p>
		<ul class="archive-list">
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/CSS炒饭/" title="CSS炒饭">CSS炒饭<sup>3</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/D3小馒头/" title="D3小馒头">D3小馒头<sup>8</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/angular2火锅/" title="angular2火锅">angular2火锅<sup>25</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/angular混搭/" title="angular混搭">angular混搭<sup>33</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/box2djs方糖/" title="box2djs方糖">box2djs方糖<sup>34</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/cyclejs哈根达斯/" title="cyclejs哈根达斯">cyclejs哈根达斯<sup>8</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/jQuery杂烩/" title="jQuery杂烩">jQuery杂烩<sup>3</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/js什锦/" title="js什锦">js什锦<sup>26</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/react沙拉/" title="react沙拉">react沙拉<sup>16</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/three-js奶茶/" title="three.js奶茶">three.js奶茶<sup>5</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/vue八宝粥/" title="vue八宝粥">vue八宝粥<sup>29</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/webpack宾治/" title="webpack宾治">webpack宾治<sup>9</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/web乱炖/" title="web乱炖">web乱炖<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/前端满汉全席/" title="前端满汉全席">前端满汉全席<sup>8</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/喵/" title="喵">喵<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/小程序双皮奶/" title="小程序双皮奶">小程序双皮奶<sup>27</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/工作这杯茶/" title="工作这杯茶">工作这杯茶<sup>5</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/应用巧克力盒/" title="应用巧克力盒">应用巧克力盒<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/思想棉花糖/" title="思想棉花糖">思想棉花糖<sup>8</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/柴米油盐工具集/" title="柴米油盐工具集">柴米油盐工具集<sup>1</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/自动化甜筒/" title="自动化甜筒">自动化甜筒<sup>1</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/categories/非前端钙片/" title="非前端钙片">非前端钙片<sup>7</sup></a>
			</li>
		
		</ul>
</div>


  
<div class="archiveslist">
	<p class="asidetitle">标签</p>
		<ul class="archive-list">
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/分享/" title="分享">分享<sup>44</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/原创部件/" title="原创部件">原创部件<sup>1</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/心态/" title="心态">心态<sup>5</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/教程/" title="教程">教程<sup>73</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/晒猫/" title="晒猫">晒猫<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/笔记/" title="笔记">笔记<sup>121</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/算法/" title="算法">算法<sup>9</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/自制插件/" title="自制插件">自制插件<sup>2</sup></a>
			</li>
		
			<li class="archive-list-item">
				<a class="archive-list-link" href="/tags/逻辑实现/" title="逻辑实现">逻辑实现<sup>5</sup></a>
			</li>
		
		</ul>
</div>


    <div class="archiveslist">
    <p class="asidetitle"><a href="/archives">about</a></p>
      <ul class="archive-list">
      	<li class="archive-list-item">
      		<a>wangbeishan@163.com</a>
      		<a href="https://github.com/godbasin">github.com/godbasin</a>
      	</li>
      </ul>
  </div>

  <div class="rsspart">
	<a href="/atom.xml" target="_blank" title="rss">RSS 订阅</a>
</div>

</aside>
</div>
    </div>
    <footer><div id="footer" >
	
	<section class="info">
		<p> 即使梦想再小，却很伟大 ^_^ </p>
	</section>
	 
		<p class="copyright">Powered by <a href="http://hexo.io" target="_blank" title="hexo">hexo</a> and Theme by <a href="https://github.com/A-limon/pacman" target="_blank" title="Pacman">Pacman</a> © 2019 
		
		<a href="https://godbasin.github.io" target="_blank" title="被删">被删</a>
		
		</p>
</div>
</footer>
    <script src="/js/jquery-2.1.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){ 
  $('.navbar').click(function(){
    $('header nav').toggleClass('shownav');
  });
  var myWidth = 0;
  function getSize(){
    if( typeof( window.innerWidth ) == 'number' ) {
      myWidth = window.innerWidth;
    } else if( document.documentElement && document.documentElement.clientWidth) {
      myWidth = document.documentElement.clientWidth;
    };
  };
  var m = $('#main'),
      a = $('#asidepart'),
      c = $('.closeaside'),
      o = $('.openaside');
  $(window).resize(function(){
    getSize(); 
    if (myWidth >= 1024) {
      $('header nav').removeClass('shownav');
    }else
    {
      m.removeClass('moveMain');
      a.css('display', 'block').removeClass('fadeOut');
      o.css('display', 'none');
      
      $('#toc.toc-aside').css('display', 'none');
        
    }
  });
  c.click(function(){
    a.addClass('fadeOut').css('display', 'none');
    o.css('display', 'block').addClass('fadeIn');
    m.addClass('moveMain');
  });
  o.click(function(){
    o.css('display', 'none').removeClass('beforeFadeIn');
    a.css('display', 'block').removeClass('fadeOut').addClass('fadeIn');      
    m.removeClass('moveMain');
  });
  $(window).scroll(function(){
    o.css("top",Math.max(80,260-$(this).scrollTop()));
  });
});
</script>

<script type="text/javascript">
$(document).ready(function(){ 
  var ai = $('.article-content>iframe'),
      ae = $('.article-content>embed'),
      t  = $('#toc'),
      h  = $('article h2')
      ah = $('article h2'),
      ta = $('#toc.toc-aside'),
      o  = $('.openaside'),
      c  = $('.closeaside');
  if(ai.length>0){
    ai.wrap('<div class="video-container" />');
  };
  if(ae.length>0){
   ae.wrap('<div class="video-container" />');
  };
  if(ah.length==0){
    t.css('display','none');
  }else{
    c.click(function(){
      ta.css('display', 'block').addClass('fadeIn');
    });
    o.click(function(){
      ta.css('display', 'none');
    });
    $(window).scroll(function(){
      ta.css("top",Math.max(140,320-$(this).scrollTop()));
    });
  };
});
</script>







  </body>
</html>
